package com.music.genres.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.music.domain.Music;
import com.music.domain.PageInfo;
import com.music.genres.dao.FindMusicByParamDao;
import com.music.genres.service.FindMusicByParamService;
@Service
public class FindMusicByParamServiceImpl implements FindMusicByParamService {
	
	@Autowired
	FindMusicByParamDao findMusicByParamDao;
	
	@Override
	public List<Music> findMusicByCate(String cate, PageInfo pageInfo) {
		return findMusicByParamDao.findMusicByCate(cate,pageInfo);
	}

}
